<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<!-- START LEFT SIDEBAR NAV-->
<aside id="left-sidebar-nav">
    <ul id="slide-out" class="side-nav fixed leftside-navigation">
        <li class="user-details cyan darken-2">
            <div class="row">
                <div class="col col s4 m4 l4">
                    <img th:src="@{/assets/global/images/avatar.png}" alt="" class="circle responsive-img valign profile-image">
                </div>
                <div class="col col s8 m8 l8">
                    <ul id="profile-dropdown" class="dropdown-content">
                        <li><a href="/unitlinforbase/index.crp"><i class="material-icons">keyboard_tab</i> 退出</a>
                        </li>
                    </ul>
                    <a class="btn-flat dropdown-button waves-effect waves-light white-text profile-btn" href="#" data-activates="profile-dropdown" th:text="${userName}"><i class="material-icons right">arrow_drop_down</i></a>
                    <p class="user-roal" th:text="${roleName}"></p>
                </div>
            </div>
        </li>
        <li class="bold"><a  class="waves-effect waves-cyan index-index" rel="/enterStore/list_index"><i class="material-icons">dashboard</i> 首页</a>
        <li class="li-hover"><div class="divider"></div></li>
        <li class="li-hover"><p class="ultra-small margin more-text">公共模块</p></li>
        </li>
        <li class="li-hover"></li>
        </li>
        </li>
        <li  class="bold"><shiro:hasPermission name="manager"><a  rel="/unitlinforbase/userlist_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 用户管理</a></shiro:hasPermission>
        </li>
        <li  class="bold"><shiro:hasPermission name="manager"><a  rel="/unitlinforbase/role/index.crp" class="waves-effect waves-cyan"><i class="material-icons">people</i> 角色管理</a></shiro:hasPermission>
        </li>
        <li  class="bold"><shiro:hasPermission name="manager"><a  rel="/unitlinforbase/permission/index.crp" class="waves-effect waves-cyan"><i class="material-icons">perm_data_setting</i> 权限管理</a></shiro:hasPermission>
        </li>
        <li  class="bold"><shiro:hasAnyPermission name="manager,managers"><a  rel="/store/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 仓库信息管理</a></shiro:hasAnyPermission>
        </li>
        <li  class="bold"><shiro:hasAnyPermission name="manager,managers"><a  rel="/parts/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 零配件信息管理</a></shiro:hasAnyPermission>
        </li>
        <li  class="bold"><a  rel="/enterStore/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 入库管理</a>
        </li>
        <li  class="bold"><a  rel="/exitStore/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 出库管理</a>
        </li>
        <li  class="bold"><a  rel="/inventory/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 库存盘点</a>
        <li  class="bold"><a  rel="/storeExchange/list_index" class="waves-effect waves-cyan"><i class="material-icons">person</i> 库存调换</a>
        </li>
    </ul>
    <a href="#" data-activates="slide-out" class="sidebar-collapse btn-floating btn-medium waves-effect waves-light hide-on-large-only darken-2"><i class="mdi-navigation-menu" ></i></a>
</aside>
